package com.atlin.project.mapper;

import com.atlin.project.model.domain.chart.Chart;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;
import java.util.Map;

/**
 * @author atlin
 * @description 针对表【chart(图表信息表)】的数据库操作Mapper
 * @createDate 2024-11-12 13:17:21
 * @Entity com.atlin.project.model.domain.chart.Chart
 */
public interface ChartMapper extends BaseMapper<Chart> {

    List<Map<String, Object>> queryChartData(String querySql);

    /**
     * 创建原始数据表
     */
    void createChartDataTable(String createSql);

    /**
     * 插入数据
     */
    int insertChartData(String saveSql);

    /**
     * 执行sql
     */
    int executeSql(String sql);
}




